*{
    box-sizing: border-box;
    -webkit-transition: background .1s;
    -moz-transition: background .1s;
    -ms-transition: background .1s;
    -o-transition: background .1s;
    transition: background .1s;
    outline: 0;
}
body {
    background: #00334b;
    color: #ffffff;
}

.container{
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
}

h1{
    text-align: center;
}

.task-list{
    margin: 10px 0;
}

textarea,
input[type=text],
input[type=date]{
    border: 0;
    display: block;
    width: 100%;
    background: #dddddd;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}
input[type=text]:focus,
input[type=date]:focus,
textarea:focus{
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}
button{
    display: inline-block;
    border: 0;
    cursor: pointer;
    color: #333333;
}

input,
.task-item,
button,
.task-detail-mask,
textarea{
    padding: 10px;
    border-radius: 3px;
}

textarea{
    min-height: 100px;
}

.add-task input[type=text]{
    float: left;
    width: 84%;
    margin-right: 1%;
}
.add-task [type=submit]{
    background: #46b1e4;
    width: 15%;
}

.add-task [type=submit]:hover{
    background: #5fb9e4;
}

.add-task [type=submit],
.task-item{
    box-shadow: 0 2px 3px rgba(0,0,0,.4);
}

.task-item{
    background: #ffffff;
    color: #333333;
    margin-bottom: 2px;
    cursor: pointer;
}

.task-item:hover{
    background: #ddd;
}

.task-detail,
.task-detail-mask{
    position: absolute;
}

.task-detail{
    background: #ffffff;
    color: #333333;
    width: 50%;
    height: 100%;
    padding: 10px;
    bottom: 0;
    right: 0;
}

.task-detail .content{
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
}

.task-detail > *{
    margin-bottom: 10px;
}

.task-detail-mask{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30,30,30,.6);
}

.task-detail-mask,
.task-detail{
    display: none;
}

.action{
    color: #888888;
    font-size: 90%;
}
.action:hover{
    color: #333333;
}

.fl{
    float: right;
}

.task-content{
    margin-left: 10px;
}